﻿<!--//=============================================================
    // Copyright (C) 2015 福流网络
    // 作 者：钟星星
    // 日 期：2016-04-06
    // 描 述: 商品表体自定义查询
    // 版 本：1.00
    // 修改历史纪录
    // 版 本  修改时间      修改人            修改内容
    //=============================================================-->


<div id="QueryItem">
   
    <div class="col1" id="query_item_customer_name">
        <table class="query_table">
            <tr>
                <td class="label">客户</td>
                <td class="exp">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="customer_name" name="customer_name" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" allowinput="true" textfield="short" valuefield="short"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=100 and stop_yn=0&searchField=short,zucode" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="id" field="id" width="0"></div>
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="short"></div>
                        </div>
                    </div>

                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_bill_no"><table class="query_table"><tr><td class="label">工作号</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="bill_no" class="mini-textbox" style="width:100%;" data="bill_no_data" /></td></tr></table></div>
   
    <div class="col1" id="query_item_shipper_no">
        <table class="query_table">
            <tr>
                <td class="label">经营单位</td>
                <td class="exp">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="shipper_no" name="shipper_no" class="mini-autocomplete" style="width: 100%; float: left" popupwidth="400" allowinput="true" pinyinfield="znamec" textfield="znamec" valuefield="zucode"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_companies&fieldnames=id,zucode,znamec,com_iden,exp_dt&where=&searchField=zucode,znamec" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="znamec"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_declare_name">
        <table class="query_table">
            <tr>
                <td class="label">报关类型</td>
                <td class="exp">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="declare_id" name="declare_id" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_baoguanleixing' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_details_goods_name"><table class="query_table"><tr><td class="label">商品名称</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="details_goods_name" class="mini-textbox" style="width:100%;" data="details_goods_name_data" /></td></tr></table></div>
   
    <div class="col1" id="query_item_org_pathid">
        <table class="query_table">
            <tr>
                <td class="label">报关组</td>
                <td class="exp">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <input id="org_pathid" name="org_pathid" allowinput="true" multiselect="true" autocheckparent="false" showfoldercheckbox="true" showclose="true"
                           class="mini-treeselect" url="/extendpage/data/jsondata.aspx?entity=t_base_department&condition=path like'%25001-003%25' or path like'%25001-001%25'&type=1" style="width: 100%;"
                           textfield="name" valuefield="id" popupwidth="300" parentfield="parent_id" oncloseclick="onCloseClick" />

                </td>
            </tr>
        </table>
    </div>
    
    
    <div class="col1" id="query_item_goods_no"><table class="query_table"><tr><td class="label">商品编号</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="goods_no" class="mini-textbox" style="width:100%;" data="goods_no_data" /></td></tr></table></div>
    <!--<div class="col1" id="query_item_unit_name"><table class="query_table"><tr><td class="label">单位</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="unit_name" class="mini-textbox" style="width:100%;" data="unit_name_data" /></td></tr></table></div>-->
    <div class="col1" id="query_item_unit_no">
        <table class="query_table">
            <tr>
                <td class="label">成交单位</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="unit_no" name="unit_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_chengjiaodanwei' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>

    
    <div class="col1" id="query_item_country_no">    
        <table class="query_table">
            <tr>
                <td class="label">最终目的国</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="country_no" name="country_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_yundiguo' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>

    <div class="col1" id="query_item_currency_no">
        <table class="query_table">
            <tr>
                <td class="label">币种</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="currency_no" name="currency_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_zafeihuobi' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_impose_no">
        <table class="query_table">
            <tr>
                <td class="label">征免</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="impose_no" name="impose_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_zhengmianfangshi' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_final_country_no">
        <table class="query_table">
            <tr>
                <td class="label">原产国(地区)</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="final_country_no" name="final_country_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_yundiguo' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_apply_code"><table class="query_table"><tr><td class="label">报关单号</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="apply_code" class="mini-textbox" style="width:100%;" data="apply_code_data" /></td></tr></table></div>
    <div class="col1" id="query_item_contract_no"><table class="query_table"><tr><td class="label">合同协议号</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="contract_no" class="mini-textbox" style="width:100%;" data="contract_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_container_no"><table class="query_table"><tr><td class="label">柜号</td><td class="exp"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="container_no" class="mini-textbox" style="width:100%;" data="container_no_data" /></td></tr></table></div>

    <div class="col1" id="query_item_transmode_no">
        <table class="query_table">
            <tr>
                <td class="label">运输方式</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="transmode_no" name="transmode_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_yunshufangshi' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_loadport_no">
        <table class="query_table">
            <tr>
                <td class="label">指运港</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="loadport_no" name="loadport_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_zhiyungang' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_end_country_no">
        <table class="query_table">
            <tr>
                <td class="label">境内货源地</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="end_country_no" name="end_country_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_jingneihuoyuandi' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>

    <div class="col1" id="query_item_bargainmode_no">
        <table class="query_table">
            <tr>
                <td class="label">成交方式</td>
                <td class="exp">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="bargainmode_no" name="bargainmode_no" class="mini-autocomplete" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_chengjiaofangshi' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>


    

    <div class="col2" id="query_item_apply_dt"><table class="query_table"><tr><td class="label">报关日期</td><td class="exp"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="apply_dt" class="mini-datepicker" style="width:100%;" data="apply_dt_data" /></td><td><input name="apply_dt_1" class="mini-datepicker" style="width:100%;" data="apply_dt_data" /></td></tr></table></div>
    <div class="col2" id="query_item_pass_dt"><table class="query_table"><tr><td class="label">放行日期</td><td class="exp"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="pass_dt" class="mini-datepicker" style="width:100%;" data="pass_dt_data" /></td><td><input name="pass_dt_1" class="mini-datepicker" style="width:100%;" data="pass_dt_data" /></td></tr></table></div>


</div>



<script type="text/javascript">
    function onCloseClick(e) {
        var obj = e.sender;
        obj.setText("");
        obj.setValue("");
    }

</script>
